<?php
class M_DbTable_FaqsCategory extends Apps_Db_Table_Abstract {
	protected $_name = 'faqs_category';

	const STATUS_ACTIVE   = 1;
	const STATUS_INACTIVE = 0;

	public function getAllFaqsCategory() {
	    $q = $this->_db
            	    ->select()
            	    ->from('faqs_category')
            	    ->where('status = ?', self::STATUS_ACTIVE);

	    return $q;
	}

}